package cn.tedu.system.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ProductDto {
    @ApiModelProperty(value = "商家id")
    private Long merchantId;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "商品单位")
    private String unit;
    @ApiModelProperty(value = "商品产地")
    private String origin;
    @ApiModelProperty(value = "商品图片URL")
    private String imageUrls;
    @ApiModelProperty(value = "描述", required = true)
    private String description;
    @ApiModelProperty(value = "价格", required = true)
    private Double price;
    @ApiModelProperty(value = "库存", required = true)
    private Integer stock;

}

